/**
 * @filename:Test 2022-9-21
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.admin.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**   
 * @Description:TODO(测试模块实体类)
 * 
 * @author: Wonder
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_test")
@ApiModel(value="sys_test对象", description="测试模块表")
public class Test extends Model<Test> {

	private static final long serialVersionUID = 1663724953227023L;
	
	@TableId(value ="id", type = IdType.AUTO)
	@ApiModelProperty(name = "id" , value = "编号")
    private Long id;
    
    @TableField(value = "title") 	
	@ApiModelProperty(name = "title" , value = "模块标题")
    private String title;
    
    @TableField(value = "dropdown_int") 	
	@ApiModelProperty(name = "dropdown_int" , value = "下拉列表数字")
    private Integer dropdown_int;
    
    @TableField(value = "dropdown_char") 	
	@ApiModelProperty(name = "dropdown_char" , value = "下拉列表字符")
    private String dropdown_char;
    
    @TableField(value = "dropdown_mult") 	
	@ApiModelProperty(name = "dropdown_mult" , value = "下拉列表多选")
	private String dropdown_mult_table;
	
	@TableField(exist = false)
	private String[] dropdown_mult;
    
    @TableField(value = "image_single") 	
	@ApiModelProperty(name = "image_single" , value = "图片上传单")
    private String image_single;
    
    @TableField(value = "image_multi") 	
	@ApiModelProperty(name = "image_multi" , value = "图片上传多")
    private String image_multi_table;
	
	@TableField(exist = false)
	private List<Map<String,Object>> image_multi;
    
    @TableField(value = "file_single") 	
	@ApiModelProperty(name = "file_single" , value = "文件上传单")
    private String file_single;
    
    @TableField(value = "file_multi") 	
	@ApiModelProperty(name = "file_multi" , value = "文件上传多")
    private String file_multi_table;
	
	@TableField(exist = false)
	private List<Map<String,Object>> file_multi;
    
    @TableField(value = "tiny_editor") 	
	@ApiModelProperty(name = "tiny_editor" , value = "TINY富文本")
    private String tiny_editor;
    
    @TableField(value = "mark_editor") 	
	@ApiModelProperty(name = "mark_editor" , value = "MARK富文本")
    private String mark_editor;
    
    @TableField(value = "wang_editor") 	
	@ApiModelProperty(name = "wang_editor" , value = "WANG富文本")
    private String wang_editor;
    
    @TableField(value = "keyvalue_pair") 	
	@ApiModelProperty(name = "keyvalue_pair" , value = "键值对")
    private String keyvalue_pair_table;
	
	@TableField(exist = false)
	private List<Map<String,Object>> keyvalue_pair;
    
    @TableField(value = "address") 	
	@ApiModelProperty(name = "address" , value = "省市联动")
	private String address_table;
	
	@TableField(exist = false)
	private String[] address;
    
    @TableField(value = "status") 	
	@ApiModelProperty(name = "status" , value = "操作状态（0正常 1异常）")
    private Integer status;
    
    @TableField(value = "tag_label") 	
	@ApiModelProperty(name = "tag_label" , value = "JSON数组")
    private String tag_label_table;
	
	@TableField(exist = false)
	private List<Map<String,Object>> tag_label;
    
    @TableField(value = "number_updown") 	
	@ApiModelProperty(name = "number_updown" , value = "计数器")
    private Double number_updown;
    
    @TableField(value = "oper_time") 	
	@ApiModelProperty(name = "oper_time" , value = "操作时间")
    private Date oper_time;
    

	@Override
    public Serializable pkVal() {
        return this.id;
    }
   
}
